package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the RECOMMENDED_ARTICLES database table.
 * 
 */
@Entity
@Table(name="RECOMMENDED_ARTICLES")
@NamedQuery(name="RecommendedArticle.findAll", query="SELECT r FROM RecommendedArticle r")
public class RecommendedArticle implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="RECOMMENDED_ARTICLES_RECOMMID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="RECOMMENDED_ARTICLES_RECOMMID_GENERATOR")
	@Column(name="RECOMM_ID")
	private long recommId;

	@Column(name="ARTICLS_ADDRESS")
	private String articlsAddress;

	@Column(name="RECOMM_CLOSE")
	private BigDecimal recommClose;

	@Column(name="RUNNING_NUMBER")
	private BigDecimal runningNumber;

	public RecommendedArticle() {
	}

	public long getRecommId() {
		return this.recommId;
	}

	public void setRecommId(long recommId) {
		this.recommId = recommId;
	}

	public String getArticlsAddress() {
		return this.articlsAddress;
	}

	public void setArticlsAddress(String articlsAddress) {
		this.articlsAddress = articlsAddress;
	}

	public BigDecimal getRecommClose() {
		return this.recommClose;
	}

	public void setRecommClose(BigDecimal recommClose) {
		this.recommClose = recommClose;
	}

	public BigDecimal getRunningNumber() {
		return this.runningNumber;
	}

	public void setRunningNumber(BigDecimal runningNumber) {
		this.runningNumber = runningNumber;
	}

}